/**
 * Created by CHENRI4 on 8/24/2016.
 */
angular.module("detail")//不佳中括号表示引入detail模块
    .config(function ($routeProvider) {
        $routeProvider
            .when("/",{templateUrl:"./detail/dishManager.html",controller:"dishManagerController"})
            .when("/historyOrder",{templateUrl:"./detail/historyOrder.html",controller:"historyOrderController"})
            .when("/orderManager",{templateUrl:"./detail/orderManager.html",controller:"orderManagerController"})
            .when("/merchantMsg",{templateUrl:"./detail/merchantMsg.html",controller:"merchantMsgController"})
            .otherwise({redirectTo:'/'})
    });